home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 193 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. From: INT@msn.com (Eugene Lazutkin)
  2. Subject: Re: Name-mangling standar
  3. Date: 2 Jan 96 22:02:09 -0800
  4. References: <DK8tqz.px@research.att.com> <20c.32633.607@newage.com.ar>
  5. Message-ID: <00001a81+000086da@msn.com>
  6. Path: news.msn.com!msn.com
  7. Newsgroups: comp.lang.c++
  8. Organization: The Microsoft Network (msn.com)
  9.  
  10. >>
  11.  
  12. AK> > Is anyone aware of any ANSI/ISO standard for name-mangling in C++? I
  13. AK> > currently work with several different C++ compilers and I sometimes
  14. AK> > want to compile a part of the project with one compiler and another
  15. AK> > part with another one, but different schemes for name-mangling make
  16. AK> > this impossible. 
  17. AK> 
  18. AK> Do you think that having a name-mangling standard would
  19. AK> make it possible?  If so, how do you explain it when two
  20. AK> C compilers on the same machine are mutually incompatible?
  21.  
  22. No, of course I don't think that only "standardizing" the
  23. name-mangling format would be enough to portably link code generated
  24. with different compilers, but that would've helped a lot in the
  25. particular project I'm working on now. Making this a standard should be
  26. just the beginning if anyone ever wants to achieve (partial) binary
  27. portability. It would be nice to be able to use the same libraries
  28. across different compilers for the same operating system.
  29.  
  30. Bye, Juanjo
  31. (jjc@delec.fi.uba.ar)
  32.  
  33. <<
  34.  
  35. I agree with you.  It would help a lot. Look at MSVC and BC.
  36. You can use libraries of one compiler with another compiler.
  37. The problem is the name mangling, not an incompatible code.
  38.  
  39. Eugene Lazutkin
  40. eugene@int.com
  41.  
  42.